package org.camunda.bpm.plugin;

import java.util.HashMap;
import java.util.Map;

public class QueryCustPlugin implements IPlugin{
    @Override
    public Map<String, Object>  execute(Map<String, Object> params) throws Exception {
        Map<String, Object> result = new HashMap<>();
        String mobile = (String)params.get("mobile");
        //查询
        result.put("cust", "张三");
        return result;
    }

    @Override
    public Map<String, Object> getConfig() {
        return null;
    }
}
